package xyz.caijiwang.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xyz.caijiwang.entity.User;
import xyz.caijiwang.mapper.UserMapper;
import xyz.caijiwang.service.UserMsgService;


@Service
public class UserMsgServiceImpl implements UserMsgService {

    @Autowired
    UserMapper userMapper;


    @Override
    public User selectByPrimaryKey(Integer userid) {
        User user = userMapper.selectByPrimaryKey(userid);
        return user;
    }
}
